home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2005 October / PCWOCT05.iso / Software / FromTheMag / XAMPP 1.4.14 / xampp-win32-1.4.14-installer.exe / xampp / phpMyAdmin / libraries / engines / myisam.lib.php < prev   
PHP Script  |  2005-03-04  |  2KB  |  45 lines

  1. <?php
  2. /* $Id: myisam.lib.php,v 2.0 2005/03/05 13:24:28 rabus Exp $ */
  3. // vim: expandtab sw=4 ts=4 sts=4:
  4.  
  5. class PMA_StorageEngine_myisam extends PMA_StorageEngine {
  6.     function getVariables () {
  7.         return array(
  8.             'myisam_data_pointer_size' => array(
  9.                 'title' => $GLOBALS['strMyISAMDataPointerSize'],
  10.                 'desc'  => $GLOBALS['strMyISAMDataPointerSizeDesc'],
  11.                 'type'  => PMA_ENGINE_DETAILS_TYPE_SIZE
  12.             ),
  13.             'myisam_recover_options' => array(
  14.                 'title' => $GLOBALS['strMyISAMRecoverOptions'],
  15.                 'desc'  => $GLOBALS['strMyISAMRecoverOptionsDesc']
  16.             ),
  17.             'myisam_max_sort_file_size' => array(
  18.                 'title' => $GLOBALS['strMyISAMMaxSortFileSize'],
  19.                 'desc'  => $GLOBALS['strMyISAMMaxSortFileSizeDesc'],
  20.                 'type'  => PMA_ENGINE_DETAILS_TYPE_SIZE
  21.             ),
  22.                 'myisam_max_extra_sort_file_size' => array(
  23.                 'title' => $GLOBALS['strMyISAMMaxExtraSortFileSize'],
  24.                 'desc'  => $GLOBALS['strMyISAMMaxExtraSortFileSizeDesc'],
  25.                 'type'  => PMA_ENGINE_DETAILS_TYPE_SIZE
  26.             ),
  27.             'myisam_repair_threads' => array(
  28.                 'title' => $GLOBALS['strMyISAMRepairThreads'],
  29.                 'desc'  => $GLOBALS['strMyISAMRepairThreadsDesc'],
  30.                 'type'  => PMA_ENGINE_DETAILS_TYPE_NUMERIC
  31.             ),
  32.             'myisam_sort_buffer_size' => array(
  33.                 'title' => $GLOBALS['strMyISAMSortBufferSize'],
  34.                 'desc'  => $GLOBALS['strMyISAMSortBufferSizeDesc'],
  35.                 'type'  => PMA_ENGINE_DETAILS_TYPE_SIZE
  36.             )
  37.         );
  38.     }
  39.     function getVariablesLikePattern () {
  40.         return 'myisam\\_%';
  41.     }
  42. }
  43.  
  44. ?>
  45.